package com.bwie.bargain.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.common.utils.PageUtils;
import com.bwie.bargain.entity.BarorderEntity;
import com.bwie.common.utils.R;

import java.util.Map;

/**
 * 
 *
 * @author ShuangzhiZhao
 * @email 466505908@qq.com
 * @date 2022-03-13 19:25:33
 */
public interface BarorderService extends IService<BarorderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R ptAdd(Long userId, Long activityId);

    R bargain(Long userId, String id, Long oid);

    BarorderEntity getByUidAid(Long userId, Long activityId);

    R updateOder(Map<String, String> params);

}

